import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path:'/index',
    name:'index',
    component: () => import(/* webpackChunkName: "about" */ '../views/index.vue')
  },

  {
    path:'/AddOrganization',
    name:'AddOrganization',
    component: () => import(/* webpackChunkName: "about" */ '../views/AddOrganization.vue')
  },
  {
    path:'/AddJob',
    name:'AddJob',
    component: () => import(/* webpackChunkName: "about" */ '../views/AddJob.vue')
  },
  {
    path:'/FileRegistration',
    name:'FileRegistration',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileRegistration.vue')
  },
  {
    path:'/FileChange',
    name:'FileChange',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileChange.vue')
  },
  {
    path:'/FileChange/:fileId',
    name:'FileChangeDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileChangeDetail.vue')
  },
  {
    path:'/FileReview',
    name:'FileReview',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileReview.vue')
  },
  {
    path:'/FileReview/:fileId',
    name:'FileReviewDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileReviewDetail.vue')
  },
  {
    path:'/FileQuery',
    name:'FileQuery',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileQuery.vue')
  },
  {
    path:'/FileQuery/:fileId',
    name:'FileQueryDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileQueryDetail.vue')
  },
  {
    path:'/FileQueryList',
    name:'FileQueryList',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileQueryList.vue')
  },
  {
    path:'/FileDeletion',
    name:'FileDeletion',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileDeletion.vue')
  },
  {
    path:'/FileRecovery',
    name:'FileRecovery',
    component: () => import(/* webpackChunkName: "about" */ '../views/FileRecovery.vue')
  },
  {
    path:'/SalaryStandardRegistration',
    name:'SalaryStandardRegistration',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardRegistration.vue')
  },
  {
    path:'/SalaryStandardReview',
    name:'SalaryStandardReview',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardReview.vue')
  },
  {
    path:'/SalaryStandardReview/:salaryId',
    name:'SalaryStandardReviewDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardReviewDetail.vue')
  },
  {
    path:'/SalaryStandardQuery',
    name:'SalaryStandardQuery',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardQuery.vue')
  },
  {
    path:'/SalaryStandardQueryList',
    name:'SalaryStandardQueryList',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardQueryList.vue')
  },{
    path:'/SalaryStandardQueryList/:salaryId',
    name:'SalaryStandardQueryDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardQueryDetail.vue')
  },
  {
    path:'/SalaryStandardChange',
    name:'SalaryStandardChange',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardChange.vue')
  },
  {
    path:'/SalaryStandardChange/:salaryId',
    name:'SalaryStandardChangeDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryStandardChangeDetail.vue')
  },
  {
    path:'/SalaryDistributionRegistration',
    name:'SalaryDistributionRegistration',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryDistributionRegistration.vue')
  },
  {
    path:'/SalaryDistributionRegistration/:slistId',
    name:'SalaryDistributionRegistrationDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryDistributionRegistrationDetail.vue')
  },
  {
    path:'/SalaryDistributionReview',
    name:'SalaryDistributionReview',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryDistributionReview.vue')
  },
  {
    path:'/SalaryDistributionReview/:slistId',
    name:'SalaryDistributionReviewDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryDistributionReviewDetail.vue')
  },
  {
    path:'/SalaryDistributionQuery',
    name:'SalaryDistributionQuery',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryDistributionQuery.vue')
  },
  {
    path:'/SalaryDistributionQueryList',
    name:'SalaryDistributionQueryList',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryDistributionQueryList.vue')
  },
  {
    path:'/SalaryDistributionQueryList/:distributedId',
    name:'SalaryDistributionQueryDetail',
    component: () => import(/* webpackChunkName: "about" */ '../views/SalaryDistributionQueryDetail.vue')
  },
  {
    path:'/',
    name:'login',
    component: () => import(/* webpackChunkName: "about" */ '../views/login.vue')
  },
  {
    path:'/Permissionsettings',
    name:'Permissionsettings',
    component: () => import(/* webpackChunkName: "about" */ '../views/Permissionsettings.vue')
  },
  {
    path:'/PersonalInformation',
    name:'PersonalInformation',
    component: () => import(/* webpackChunkName: "about" */ '../views/PersonalInformation.vue')
  },
  {
    path:'/RewardsAndPunishment',
    name:'RewardsAndPunishment',
    component: () => import(/* webpackChunkName: "about" */ '../views/RewardsAndPunishment.vue')
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
